from binance.client import Client

# 初始化客户端
client = Client(api_key='your_api_key', api_secret='your_api_secret')

# 获取市场信息
exchange_info = client.get_exchange_info()

# 筛选出所有以 BTC 为 quoteAsset 的交易对
btc_quote_pairs = []

for symbol_info in exchange_info['symbols']:
    if symbol_info['quoteAsset'] == 'BKRW':
        btc_quote_pairs.append("2 USDT " + symbol_info['symbol'])

# 输出结果
print("Trading pairs with BTC as quote asset:")
for pair in btc_quote_pairs:
    print(pair)
